<?php

/*
Plugin Name: Mashaghel
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: A brief description of the Plugin.
Version: 1.0
Author: saeb
Author URI: http://URI_Of_The_Plugin_Author
License: A "Slug" license name e.g. GPL2
*/

/*********************************************DEFINITIONS**************************************************************/
define("MASHAGHEL_CONFIGS",array(
	"ir_states_db" => array (
						"states_year"=>1397, //https://j.mp/amar_org_ir
						"table_name"=>"ir_states",
						)
));
define("MASHAGHEL_DIR",plugin_dir_path(__FILE__));

/************************************************FUNCTIONS*************************************************************/
function console_log($str){
	echo "
	<script>
	console.log('$str');
</script>
	";
	error_log(
		"\n++++++++++++++++++++++++++++\n".
		print_r($str,true).
		"\n+++++++++++++++++++++++\n"

	);
}


/************************************************IMPORTS****************************************************************/
require_once(MASHAGHEL_DIR."actions.php");
